package com.gfxy.modules.items.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.gfxy.modules.common.entity.MemberList;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @Author: JinChongLi
 * @Description:
 * @Date: Created in 8:38 2021/10/20
 * @Modified By:
 */
@Data
public class ProjectForYearWithMemberList implements Serializable {
    /**主键*/
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
    /**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
    /**创建日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
    /**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
    /**更新日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
    /**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
    /**年*/
    @Excel(name = "年", width = 15)
    @ApiModelProperty(value = "年")
    private String date;
    /**关联id*/
    @Excel(name = "关联id", width = 15)
    @ApiModelProperty(value = "关联id")
    private String projectId;
    /**积分*/
    @Excel(name = "积分", width = 15)
    @ApiModelProperty(value = "积分")
    private Double totalScore;

    @Excel(name = "类型", width = 15, dicCode = "TEACHING_BUILDING_TYPE")
    @Dict(dicCode = "TEACHING_BUILDING_TYPE")
    @ApiModelProperty(value = "类型")
    private String projectType;

    @ApiModelProperty(value = "状态")
    private Integer state;

    private List<MemberList> memberList ;
}
